package com.sun.boostrap.controller;

import com.sun.annotation.RepeatSubmit;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试接口重复提交
 */
@RestController
public class RepeatSubmitController {


    /**
     * 重复提交
     * @return
     */
    @RepeatSubmit
    @RequestMapping("/submit")
    public String submit() {
        return "hello";
    }
}
